<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>登陆</title>
</head>

<body>
<h1>登陆页面：</h1>
<form method = 'post' enctype="multipart/form-data">
    {% csrf_token %}
    {{uf.as_p}}
    <!--
  <p><label for="id_username">用户名:</label> <input id="id_username" maxlength="20" name="username" type="text" required/>
  </p>
  <p><label for="id_password">密码:</label> <input id="id_password" name="password" type="password" required/></p>
  -->
  <input type="submit" value = "登录" />
</form>
<br>
<a href="/register">注册</a>
</body>
</html>